<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>监听事件</title>
		<script src="https://cdn.jsdelivr.net/npm/vue"></script>
	</head>
	<body>
		<div id="app">
			<button @click="count+=1">add</button>
			<p>你好啊-0{{count}}</p>
		</div>
		<script>
			var vm = new Vue({
				el:'#app',
				data:{
					count:1
				}
			})
		</script>
	</body>
</html>
